import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/System/RouterSetList',
    method: 'get',
    params,
  })
}
export function getOptionsList(params: any) {
  return request({
    url: '/System/RouterOptions',
    method: 'get',
    params,
  })
}
export function doEdit(data: any) {
  return request({
    url: '/System/RouterSetEdit',
    method: 'post',
    data,
  })
}
export function doState(data: any) {
  return request({
    url: '/System/actRouterSet',
    method: 'post',
    data,
  })
}
